Skip to content

aml: support parent reference in Path#50

Open
lgfa29 wants to merge 1 commit into
rust-vmm:mainfrom
oxidecomputer:aml-path-parent
Open

aml: support parent reference in Path#50
lgfa29 wants to merge 1 commit into
rust-vmm:mainfrom
oxidecomputer:aml-path-parent

Conversation

@lgfa29
Copy link
Copy Markdown
Contributor

@lgfa29 lgfa29 commented May 1, 2026

Summary of the PR

The aml::Path struct currently support references to root (/) but it's also possible to reference the parent namespace (^).

Ref.: https://uefi.org/htmlspecs/ACPI_Spec_6_4_html/19_ASL_Reference/ACPI_Source_Language_Reference.html#definition-block-name-modifier-encodings

Requirements

Before submitting your PR, please make sure you addressed the following
requirements:

  • All commits in this PR have Signed-Off-By trailers (with
    git commit -s), and the commit message has max 60 characters for the
    summary and max 75 characters for each description line.
  • All added/changed functionality has a corresponding unit/integration
    test.
  • All added/changed public-facing functionality has entries in the "Upcoming
    Release" section of CHANGELOG.md (if no such section exists, please create one).
  • Any newly added unsafe code is properly documented.

When referencing the parent element, the path should be prefixed with a
`^` (`0x5E`).

Signed-off-by: Luiz Aoqui <luiz@oxidecomputer.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant